package vistaDibujable;

public class Menu {
        public static void acciones(){
            System.out.println("\n <<< MENU DE ACCIONES >>>");
            System.out.println("1> Construir");
            System.out.println("2> Recolectar");
            System.out.println("3> Crear unidad");
            System.out.println("4> turno");
            System.out.println("5> Agregar amigo");
            System.out.println("6> Contratar amigo");
            System.out.println("7> Invadir");
            System.out.println("8> Salir");
            System.out.println("Ingrese el comando: ");
	}

        public static void error(String texto)
        {
            System.out.println(texto);
        }
        public static void mensaje(String texto)
        {
            System.out.println(texto);
        }
        
        public static void construcciones()
        {
           System.out.println("!!!!!!!!!!!!!!!!!!! MENU CONSTRUCCIONES!!!!!!!!!!!!!!!!");
           System.out.println("******************* VIVIENDAS ********************");
           System.out.println(" (1) Bungalow Pequenho ");
           System.out.println(" (2) Casa Pequenha ");
           System.out.println(" (3) Casa Moderna ");
           System.out.println(" (4) Mansion ");
           System.out.println("******************* GOBIERNO ********************");
           System.out.println(" (5) Mansion Presidencial ");
           System.out.println(" (6) Tribunal Federall ");
           System.out.println(" (7) Ayuntamiento ");
           System.out.println("******************* MILITAR ********************");
           System.out.println(" (8) Cuartel Militar ");
           System.out.println(" (9) Fuerza Aerea ");
           System.out.println(" (10) Base Naval ");
           System.out.println("******************* PRODUCCION ********************");
           System.out.println(" (11) Granero de Alimentos ");
           System.out.println(" (12) Pozo Petrolero ");
           System.out.println(" (13) Industria de Madera ");
           System.out.println(" (14) Mineria ");
        }

        public static void recursosJuego(int v_nivel, int v_exper, int v_pobl, int v_lim_pobl, int v_fua, int v_made, int v_petro, int v_mine, int v_mon,String nombre)
        {
           String niv = "Nivel: ";
           String XP = "XP: ";
           String pob = "Poblacion: ";
           String fua = "Fuaa: ";
           String madera = "Madera: ";
           String petroleo = "Petroleo: ";
           String minerales = "Mineral: ";
           String moneda = "Monedas: ";

           System.out.printf("%-30cPeru Civilization: "+nombre+ " (: \n",' ');
           System.out.printf("%8c%-12s%7d%13c%-12s%7d\n", ' ',niv, v_nivel, ' ',XP,v_exper);
           System.out.printf("%8c%-12s%3d/%3d%13c%-12s%7d\n",' ',pob,v_pobl,v_lim_pobl,' ', fua, v_fua);
           System.out.printf("%8c%-12s%7d%13c%-12s%7d\n",' ',madera,v_made,' ',petroleo,v_petro);
           System.out.printf("%8c%-12s%7d%13c%-12s%7d\n",' ',minerales,v_mine,' ',moneda,v_mon);
           System.out.printf("\n");
        }

        public static void objetos()
        {
          System.out.println("!!!!!!!!!!!!!!!!!!!!! MENU OBJETOS!!!!!!!!!!!!!!!!!!");
          System.out.println("******************* CUARTEL ********************");
          System.out.println(" (1) Soldado ");
          System.out.println(" (2) Tanque simple ");
          System.out.println("****************** FUERZA AEREA*****************");
          System.out.println(" (3) Avion simple ");
          System.out.println("******************* BASE NAVAL *****************");
          System.out.println(" (4) Barco de Guerra ");
          System.out.println("************** GRANERO ALIMENTICIO *************");
          System.out.println(" (5) Cultivar fresas ");
          System.out.println("****************** ASERRADERO ******************");
          System.out.println(" (6) Talar lenios ");
          System.out.println("****************** MINA METALES ****************");
          System.out.println(" (7) Excavar mineral ");
          System.out.println("**************** POZO PETROLERO ****************");
          System.out.println(" (8) Contratar pozos ");
        }
}
